package com.ruoyi.extdata.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author: Jamnsin
 * @Date: 2021/3/2 3:19 下午
 */
@Data
@Component
@ConfigurationProperties(prefix = "api.td.rule")
public class RuleConfig {
	
	public static final String RULE_TYPE_APPLY = "apply";
	
	public static final String RULE_TYPE_LOAN = "loan";

	public static final String RULE_TYPE_REPLENISH = "replenish";

	public static final String RULE_TYPE_BIND_CARD = "bandCard";

	public static final String RULE_WORK_FLOW_CODE_LOAN = "cashflow";
	
	public static final String RULE_WORK_FLOW_CODE_CREDIT = "creditFlow";

	public static final String RULE_WORK_FLOW_CODE_LIMIT = "limitFlow";

	public static final String RULE_WORK_FLOW_CODE_LIMIT_ADJUST1 = "limit2";

	public static final String RULE_WORK_FLOW_CODE_LIMIT_ACTIVE_LIMIT = "activelimit";

	public static final String CONTENT_TYPE = "application/x-www-form-urlencoded;charset=UTF-8";
	
	private String url;

	private String aesKey;

    private String productCode;

    private String runType;
    
    private String workflowCode;
    
    private String creditFlowUrl;
    
    private String cashFlowUrl;

    private String limitAdjustUrl;

    private String limitAdjustUrl2;

    private String creditNextStepUrl;
	private String loanNextStepUrl;

}
